package com.ruoyi.lessee.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 租户对象 tb_lessee
 * 
 * @author ruoyi
 * @date 2023-04-24
 */
public class TbLessee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商户编号 */
    private Long lesseeId;

    /** 商户名称 */
    @Excel(name = "商户名称")
    private String lesseeName;

    /** 法人名称 */
    @Excel(name = "法人名称")
    private String signName;

    /** 法人身份证号 */
    @Excel(name = "法人身份证号")
    private String identityCard;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String lesseePhone;

    /** 注册地址 */
    @Excel(name = "注册地址")
    private String lesseeAddr;

    /** 付费模式 */
    @Excel(name = "付费模式")
    private Integer lesseePolicy;

    /** 审批通过时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批通过时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalTime;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    public void setLesseeId(Long lesseeId) 
    {
        this.lesseeId = lesseeId;
    }

    public Long getLesseeId() 
    {
        return lesseeId;
    }
    public void setLesseeName(String lesseeName) 
    {
        this.lesseeName = lesseeName;
    }

    public String getLesseeName() 
    {
        return lesseeName;
    }
    public void setSignName(String signName) 
    {
        this.signName = signName;
    }

    public String getSignName() 
    {
        return signName;
    }
    public void setIdentityCard(String identityCard) 
    {
        this.identityCard = identityCard;
    }

    public String getIdentityCard() 
    {
        return identityCard;
    }
    public void setLesseePhone(String lesseePhone) 
    {
        this.lesseePhone = lesseePhone;
    }

    public String getLesseePhone() 
    {
        return lesseePhone;
    }
    public void setLesseeAddr(String lesseeAddr) 
    {
        this.lesseeAddr = lesseeAddr;
    }

    public String getLesseeAddr() 
    {
        return lesseeAddr;
    }
    public void setLesseePolicy(Integer lesseePolicy) 
    {
        this.lesseePolicy = lesseePolicy;
    }

    public Integer getLesseePolicy() 
    {
        return lesseePolicy;
    }
    public void setApprovalTime(Date approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime() 
    {
        return approvalTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lesseeId", getLesseeId())
            .append("lesseeName", getLesseeName())
            .append("signName", getSignName())
            .append("identityCard", getIdentityCard())
            .append("lesseePhone", getLesseePhone())
            .append("lesseeAddr", getLesseeAddr())
            .append("lesseePolicy", getLesseePolicy())
            .append("createTime", getCreateTime())
            .append("approvalTime", getApprovalTime())
            .append("endTime", getEndTime())
            .append("state", getState())
            .toString();
    }
}
